<?php 
	$routing_rules = array
	(
		#index/root
		'(^\/$)' => array( 'controller' => 'DEFAULT', 'action' => 'DEFAULT' ),
		
		#[/controller/action/id/] or [/controller/action/id] 
		'(^\/+[a-zA-Z-\-]+\/+[a-zA-Z-\-]+\/+[0-9]+\/|\/+[a-zA-Z-\-]+\/+[a-zA-Z-\-]+\/+[0-9]+$)' => array( 'controller' => 'THIS', 'action' => 'THIS', 'id' => 2 ),

		#[/controller/action/] or [/controller/action]
		'(^\/+[a-zA-Z-\-]+\/+[a-zA-Z-\-]+\/|\/+[a-zA-Z-\-]+\/+[a-zA-Z-\-]+$)' => array( 'controller' => 'THIS', 'action' => 'THIS' ),

		#[/controller/id/] or [/controller/id]
		'(^\/+[a-zA-Z-\-]+\/+[0-9]+\/|\/+[a-zA-Z-\-]+\/+[0-9]+$)' => array( 'controller' => 'THIS', 'action' => 'DEFAULT', 'id' => 2 ),

		# [/controller/] or [/controller]					
		'(^\/+[a-zA-Z-\-]+\/|\/+[a-zA-Z-\-]+$)' => array( 'controller' => 'THIS', 'action' => 'DEFAULT' ),

		# [/year/month/day/blog-style-url/] or [/year/month/day/blog-style-url]
		'(^\/+[0-9]+\/+[0-9]+\/+[0-9]+\/+[a-zA-Z0-9-\-]+\/|\/+[0-9]+\/+[0-9]+\/+[0-9]+\/+[a-zA-Z0-9-\-]+$)' => array( 'controller' => 'DEFAULT', 'action' => 'DEFAULT' )
	);
?>